SOURCE = $(wildcard *.c)
TARGETS = $(patsubst %.c, %.out, $(SOURCE))

CC = arm-linux-gcc
#CFLAGS = -Wall -g

all:$(TARGETS)

$(TARGETS):%.out:%.c
        $(CC)$< -o $@

.PHONY:clean all
clean:
        -rm -rf $(TARGETS)

